<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>展示选课结果</title>
    <script src="/webjars/jquery/3.5.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/5.1.0/bootstrap.min.js"></script>
    <link th:href="@{/webjars/bootstrap/5.1.0/css/bootstrap.css}" rel="stylesheet">
    <link th:href="@{/css/signin.css}" rel="stylesheet">
</head>
<body>
<form  th:action="@{/result}"  method="post">
    <div>
        <table class="table table-striped table-bordered table-hover">
            <thead>
                <tr>
                    <th>
                        姓名
                    </th>
                    <th>
                        学号
                    </th>
                    <th>
                        年级
                    </th>
                    <th>
                        专业
                    </th>
                    <th>
                        学院
                    </th>
                    <th>
                        已选课程
                    </th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td th:text="${Information['name']}">
                        叶兴
                    </td>
                    <td th:text="${Information['no']}">
                        1925121031
                    </td>
                    <td th:text="${Information['grade']}">
                        2019
                    </td>
                    <td th:text="${Information['major']}">
                        软件工程
                    </td>
                    <td th:text="${Information['college']}">
                        计算机
                    </td>
                    <td th:each="course: ${courseSelected}" th:text="${course.course}">
                    </td>
                </tr>

            </tbody>
        </table>
    </div>





</form>

</body>
</html>